const http =require('http');

const server = http.createServer((request,response) => {
    response.end('你好');
});

server.listen(9000,() => {
    console.log('9000 端口正在监听');
});